#ifndef _SOCK_SSL_H
#define _SOCK_SSL_H
/* openssl support */
#include <openssl/ssl.h>
#include <openssl/x509.h>
#include <openssl/err.h>
#include <openssl/rand.h>
#include <openssl/md5.h>
#include <openssl/des.h>
#include <openssl/hmac.h>

extern void print_errors (void);
extern SSL_CTX * sock_ssl_init();
extern int sock_ssl_connect(SSL *ssl, int fd);
#endif
